package com.demo.config;

import com.demo.bean.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {
    @Bean
    public User user01(){
        return new User("老戴", 28);
    }
}
